home *** CD-ROM | disk | FTP | other *** search
- Path: comma.rhein.de!yaps!arno
- From: arno@yaps.rhein.de (Arno Eigenwillig)
- Newsgroups: comp.sys.amiga.introduction
- Subject: Re: ToolManager loses PATH info
- Message-ID: <Rg37y*8Yf@yaps.rhein.de>
- Date: Mon, 19 Feb 1996 12:55:17 +0100
- FollowUp-To: poster
- References: <4g807g$mje@news2.delphi.com>
- Organization: Yet Another Private Site in Meckenheim, Germany
- X-Copyright: This article may not be distributed on a CD-ROM
- or in printed form without prior written consent of the author.
- X-Newsreader: Arn V 1.04
-
- In article <4g807g$mje@news2.delphi.com>, TAOBERLY@DELPHI.COM writes:
-
- > I've noticed that when I start a shell from the
- > menu, the Workbench Path information specified in my startup-sequence
- > is not passed-on.
-
- > I have it set as a WorkBench
- > Exec Type, which I thought would work the same as starting the shell
- > from the Workbench icon (which works fine).
-
- Workbench does not pass on path information when starting programs in
- Workbench-style. SYS:System/CLI (which is the default tool of the
- Shell icon) apparenty does some (not too hard to guess) magic to find
- out about the path anyway, but it seems to fail in your configuration.
-
- The cure is simple: Let your Exec object for the shell invoke the
- command NewShell in CLI mode. Works fine with TM 2.1, your mileage may
- vary for older versions. It is mandatory, of course, that your PATH is
- set before TM is started (be it from User-Startup, Startup-Sequence or
- WBStartup).
-
- BTW: Aliases are inherited just like the path. Setting aliases once in
- User-Startup and having user shells inherit them speeds up starting
- shells *a* *lot* compared to the usual method of having aliases defined
- in Shell-Startup.
-
- Please Followup-To: poster; I'm outta this newsgroup for some time.
-
- -- __
- __/// Arno Eigenwillig /\ <arno@yaps.rhein.de> \/ PGP key available.
- \XX/ V+49-2225-5870 /\ <Arnooo @ #amigager> \/ MIME 8bit welcome.
- :-( Reduced net.presence until June 1996. )-:
-